package main.model;

/**
 * Created by hdt3213 on 17/3/30.
 */

public class User {

	private int id;
	private String uuid;
	private String name;
	private String password;
	private int face;
	private boolean reserved = false;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPassword() {
		return password;
	}

	public boolean checkPassword(String password) {
		if (this.password == password) {
			return true;
		}
		else {
			return false;
		}
	}

	public int getFace() {
		return face;
	}

	public void setFace(int face) {
		this.face = face;
	}

	public boolean isReserved() {
		return reserved;
	}

	public void setReserved(boolean reserved) {
		this.reserved = reserved;
	}
}
